/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.atomojo.sparql;

/**
 *
 * @author alex
 */
public class ParseException extends Exception {
   int line;
   int column;
   public ParseException(String msg)
   {
      super(msg);
   }
   public ParseException(String msg,int line,int column)
   {
      super(msg);
      this.line = line;
      this.column = column;
   }
   
   public String getMessage() {
      return line+":"+column+" "+super.getMessage();
   }
   
   public int getLine() {
      return line;
   }
   
   public int getColumn() {
      return column;
   }
}
